﻿using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace Neovolve.Extensibility.VisualStudio.TestProfilerLink.UnitTests
{
    /// <summary>
    ///This is a test class for ConfigurationTests and is intended
    ///to contain all ConfigurationTests Unit Tests
    ///</summary>
    [TestClass]
    public class ConfigurationTests
    {
        /// <summary>
        ///A test for Profilers
        ///</summary>
        [TestMethod]
        [DeploymentItem("Neovolve.Extensibility.VisualStudio.TestProfilerLink.dll")]
        public void ProfilersTest()
        {
            ConfigurationResolver<Profiler> actual = Configuration.Profilers;

            Assert.IsNotNull(actual, "Profilers returned an incorrect result.");
        }

        /// <summary>
        ///A test for TestFrameworks
        ///</summary>
        [TestMethod]
        [DeploymentItem("Neovolve.Extensibility.VisualStudio.TestProfilerLink.dll")]
        public void TestFrameworksTest()
        {
            ConfigurationResolver<TestFramework> actual = Configuration.TestFrameworks;

            Assert.IsNotNull(actual, "TestFrameworks returned an incorrect result.");
        }

        /// <summary>
        ///Gets or sets the test context which provides
        ///information about and functionality for the current test run.
        ///</summary>
        public TestContext TestContext
        {
            get;
            set;
        }
    }
}